package xyz.zhzby.cyzx.ucenter.service;

import xyz.zhzby.cyzx.servicebase.domain.RestResponse;
import xyz.zhzby.cyzx.ucenter.dto.response.Info;
import xyz.zhzby.cyzx.ucenter.dto.response.InterestResponse;
import xyz.zhzby.cyzx.ucenter.entity.Interest;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 兴趣表 服务类
 * </p>
 *
 * @author zby
 * @since 2021-12-16
 */
public interface IInterestService extends IService<Interest> {

    List<Info> getInterestsByUserId(Long id);

    RestResponse<List<InterestResponse>> getAllInterests();

}
